package com.iot.ic.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.iot.ic.model.IllegalResultShow;

@Mapper
public interface IllegalResultShowMapper {
    int deleteByPrimaryKey(Integer illegalResultShowId);

    int insert(IllegalResultShow record);

    int insertSelective(IllegalResultShow record);

    IllegalResultShow selectByPrimaryKey(Integer illegalResultShowId);

    int updateByPrimaryKeySelective(IllegalResultShow record);

    int updateByPrimaryKey(IllegalResultShow record);
    
    List<Map<String,Object>> selectIllegalResultShowList(@Param("count") int count,@Param("teamId")int teamId,
    	@Param("startTime") String startTime,  @Param("endTime") String endTime);
    
    
    int deleteIllegalResultShowByScenesResult(Integer scenesResultId);
    
    int addIllegalResultShowBatch(List<IllegalResultShow> record);
}